package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工-职位对象 WorkerPosition
 *
 * @author ruoyi
 * @date 2024-05-13
 */
public class WorkerPosition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 职位Id */
    @Excel(name = "职位编号")
    private Long positionId;

    /** 员工Id */
    @Excel(name = "员工编号")
    private Long workerId;

    public void setPositionId(Long positionId)
    {
        this.positionId = positionId;
    }

    public Long getPositionId()
    {
        return positionId;
    }
    public void setWorkerId(Long workerId)
    {
        this.workerId = workerId;
    }

    public Long getWorkerId()
    {
        return workerId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("positionId", getPositionId())
            .append("workerId", getWorkerId())
            .toString();
    }
}
